export interface TenantItem {
  tenantCode: string;
  tenantName: string;
  createdTime: string;
  subscribedAppCount: string;
}

export type BasicDataParams = {
  tenantCode: string;
};

export type AppParams = {
  tenantCode: string;
  appId: string;
};

export interface TenantBasicDataItem {
  subscribedApps: string;
  databases: string;
  namespaces: string;
  deployments: string;
  apps: string;
  services: string;
  ecs: string;
  deploymentStrategy: string;
  userCounts: string;
  orgCounts: string;
}

export interface TenantLogDataItem {
  logGroupId: string;
  logGroupName: string;
  logStreamId: string;
  logStreamName: string;
}

export interface TenantSubscribedAppItem {
  appId: string;
  appName: string;
  architecture: string;
  namespace: string;
  componentCount: string;
  appType: string;
  strategyCount: string;
  effectiveTime: string;
  expireTime: string;
  type: string;
  enterpriseSize: string;
  isExpand: string;
  dbMultiTenantMode: string;
  appMultiTenantMode: string;
  ifWithLicense: string;
  specification: string;
  instanceName: string;
  instanceId: string;
  dbIp: string;
  dbName: string;
  dbType: string;
}

export interface AppBasicItem {
  appName: string;
  tenantName: string;
  region: string;
  architecture: string;
}

export interface AppNamespaceItem {
  namespace: string;
  cluster: string;
}

export interface AppSingleItem {
  ecsName: string;
  currentImageId: string;
  previousImageId: string;
  securityGroupId: string;
  cloudLinkDir: string;
  appDir: string;
}

export interface AppMicroServiceItem {
  currentDeployment: string;
  componentName: string;
  namespace: string;
  currentImageId: string;
  previousImageId: string;
  currentVersion: string;
  previousVersion: string;
  appName: string;
  serviceName: string;
  basicId: string;
  upgradeId: string;
  basicName: string;
  upgradeName: string;
  cpuUsage: string;
  memoryUsage: string;
}
